﻿using System;
using System.Collections.Generic;

namespace Database.ERPNext
{
    public partial class tabPromotional_Scheme_Price_Discount
    {
        public string name { get; set; } = null!;
        public DateTime? creation { get; set; }
        public DateTime? modified { get; set; }
        public string? modified_by { get; set; }
        public string? owner { get; set; }
        public int docstatus { get; set; }
        public int idx { get; set; }
        public int disable { get; set; }
        public int apply_multiple_pricing_rules { get; set; }
        public string? rule_description { get; set; }
        public decimal min_qty { get; set; }
        public decimal max_qty { get; set; }
        public decimal min_amount { get; set; }
        public decimal max_amount { get; set; }
        public string? rate_or_discount { get; set; }
        public decimal rate { get; set; }
        public decimal discount_amount { get; set; }
        public decimal discount_percentage { get; set; }
        public string? warehouse { get; set; }
        public decimal threshold_percentage { get; set; }
        public int validate_applied_rule { get; set; }
        public string? priority { get; set; }
        public int apply_discount_on_rate { get; set; }
        public string? parent { get; set; }
        public string? parentfield { get; set; }
        public string? parenttype { get; set; }
    }
}
